﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcUI.Filter;
using System.Web.SessionState;

namespace MvcUI.Controllers
{
    public class MHomeController : BaseController
    {

       [RoleFilter(Role="Admin")]
        public ActionResult Index()
        {
            string s = this.User.UserName;
            return View();
        }

       
    }
}
